import React from 'react';

import {Router, Route, IndexRoute, browserHistory} from 'react-router';

import App from './containers/App'
import Home from './containers/Home'
import Person from './containers/Person'


const Routes = () => (
	<Router history={browserHistory}>
		<Route path="/" component={App}>
			<Route name="home" path="home" component={Home}/>
			<Route name="person" path="person" component={Person}/>
		</Route>
	</Router>
)

export default Routes